slr8:0.0.1#5167
Merged
Merged
Conversation
elegaanz
reviewed
Jun 29, 2026
elegaanz
left a comment
Member
There was a problem hiding this comment.
Thank you for this package! I just have a small suggestion.
Co-authored-by: Ana Gelez <ana+github@gelez.xyz>
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I am submitting
slr8 computes and visualizes the SLR parsing process natively in Typst, without relying on external scripts. By taking a grammar and an input sentence, it generates FIRST/FOLLOW sets, canonical LR(0) items, the DFA, ACTION/GOTO tables, shift-reduce traces, and parse trees. It is useful for educators and students who need to embed compiler design examples directly into their Typst documents
I have read and followed the submission guidelines and, in particular, I
The name slr8 is a leetspeak neologism combining the "SLR" parsing algorithm with the number "8" to create a pun on the word "accelerate," reflecting how the package speeds up the creation of parsing diagrams. It complies with the naming rules because it is a stylized, creative term rather than a literal, generic description like slr-visualizer.
typst.tomlfile with all required keysREADME.mdwith documentation for my packageLICENSEfile or linked one in myREADME.mdexcluded PDFs or README images, if any, but not the LICENSE